package us.icitap.commandcenter.business.ejb.persistence;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="OFFICER", schema="MPC")
public class Officer implements Serializable {

	@Id
	private String policeId;
	
	@Column(name="NAME_SURNAME")
	private String nameSurname;

	private transient OrgStructure orgStructure;
	
	
	public Officer() {
		// TODO Auto-generated constructor stub
	}
	
	public Officer(String policeId, String nameSurname) {
		this.policeId = policeId;
		this.nameSurname = nameSurname;
	}
	
	public String getPoliceId() {
		return policeId;
	}

	public void setPoliceId(String policeId) {
		this.policeId = policeId;
	}

	public String getNameSurname() {
		return nameSurname;
	}

	public void setNameSurname(String nameSurname) {
		this.nameSurname = nameSurname;
	}

	/**
	 * @param orgStructure the orgStructure to set
	 */
	public void setOrgStructure(OrgStructure orgStructure) {
		this.orgStructure = orgStructure;
	}

	/**
	 * @return the orgStructure
	 */
	public OrgStructure getOrgStructure() {
		return orgStructure;
	}
	


}
